package com.core.base.searchForm;


/**
 * 基层抽象组建,主要对分页接口进行初始化
 * 
 * @author Administrator
 *
 */
public abstract class AbstractBaseSearchForm implements ISearchForm {
	
	private int pageSize = 10;	
	/**当前页*/
	private int currentPage;
	
	private int maxResult = MAX_RESULT;

	@Override
	public int getPageSize() {
		
		return pageSize;
	}

	@Override
	public int getCurrentPage() {
		
		return currentPage;
	}

	@Override
	public int getMaxResult() {
		
		return maxResult;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public void setMaxResult(int maxResult) {
		this.maxResult = maxResult;
	}

}
